import {AfterViewInit, Component} from "@angular/core";
import {BaseComponent} from "../base.component";
import {ArticleService} from "./article.service";
import {ActivatedRoute} from "@angular/router";


declare const UM:any;

@Component({
    selector: 'my-rightContent',
    templateUrl:"./article.manage.component.html",
    styleUrls:["./article.manage.component.css"]

})
export class ArticleManage extends BaseComponent implements AfterViewInit{


    constructor(private service:ArticleService,private route:ActivatedRoute){
        super();
    }


    ngAfterViewInit(): void {
       /* UM.clearCache("myEditor");
        var um = UM.getEditor('myEditor');*/
    }


    handleSubmit(){
       // this.service.createAnnouncement(this._data);
    }

    test(){
        console.log(this.route.outlet);
    }

}
